home *** CD-ROM | disk | FTP | other *** search
/ Software USA 5 #2 / Software USA Volume 5.02.iso / mac / children / 2 / Frog Hop Game / Frog Hop Game.dxr / 00245_ .ls < prev    next >
Encoding:
Text File  |  1998-09-21  |  897 b   |  36 lines

  1. on mouseUp
  2.   global UPG, LEVEL, scorecnt, SAVETHERE
  3.   if UPG = 0 then
  4.     set the castNum of sprite 45 to 254
  5.     puppetSound("ribit3")
  6.     updateStage()
  7.     set TTIME to the timer
  8.     repeat while the timer < (TTIME + 100)
  9.     end repeat
  10.     set the castNum of sprite 45 to 244
  11.     updateStage()
  12.   end if
  13.   if (UPG = 1) and (LEVEL > 1) then
  14.     set the castNum of sprite 45 to 257
  15.     puppetSound("click")
  16.     updateStage()
  17.     set SAVETHERE to 1
  18.     writesavescore()
  19.     set TTIME to the timer
  20.     repeat while the timer < (TTIME + 100)
  21.     end repeat
  22.     set the castNum of sprite 45 to 244
  23.     updateStage()
  24.   end if
  25.   if (UPG = 1) and (LEVEL = 1) then
  26.     set the castNum of sprite 45 to 265
  27.     puppetSound("ribit3")
  28.     updateStage()
  29.     set TTIME to the timer
  30.     repeat while the timer < (TTIME + 100)
  31.     end repeat
  32.     set the castNum of sprite 45 to 244
  33.     updateStage()
  34.   end if
  35. end
  36.